﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true" CodeBehind="EditMessage.aspx.cs" Inherits="WeakEndForum.EditMessage" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="body" runat="server">
    <div class="container">
        <div class="page-header">
            <span class="h2 RalewayFont"><span class="glyphicon glyphicon-edit"></span> Modifier un message</span>
        </div>
        <asp:RequiredFieldValidator ID="valRequieredEditMessageContent" ValidationGroup="editMessageValidation" ErrorMessage="Un message est obligatoire." ControlToValidate="txtEditMessageContent" Display="None" runat="server" />
        <asp:TextBox CssClass="form-control textarea" ValidationGroup="editMessageValidation" TextMode="MultiLine" ID="txtEditMessageContent" runat="server" />
        <asp:ValidationSummary ID="validationSummEditMessage" CssClass="alert alert-danger" ValidationGroup="editMessageValidation" DisplayMode="BulletList" runat="server" />
        <asp:Button ID="btnEditMessage" CssClass="btn btn-primary" ValidationGroup="editMessageValidation" OnClick="btnEditMessage_Click" Text="Edit" runat="server" />
    </div> 
</asp:Content>
